package tech.aistar.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart implements Serializable{

  private Integer id;
  private String proImg;
  private String name;
  private Double price;
  private Integer total;
  private String remark;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createDate;
  private Integer userId;
  private String headerImg;
  private String username;
}
